/* 重置样式只影响组件内部 */
.th-wrapper *,
.th-header *,
.th-background-image,
.th-light-stream,
.th-gradient-overlay {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 容器样式 */
#th-container {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 50vh;
}

.th-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Header 样式 */
.th-header {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 背景图片 - 增加亮度 */
.th-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: brightness(1.2) contrast(1.1); /* 增加亮度和对比度 */
}

/* 专业流光效果 */
.th-light-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(100, 200, 255, 0.3) 25%,
        rgba(76, 201, 240, 0.5) 35%,
        rgba(76, 201, 240, 0.7) 45%,
        rgba(76, 201, 240, 0.5) 55%,
        rgba(100, 200, 255, 0.3) 65%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    z-index: 2;
    animation: th-professionalStream 15s ease-in-out infinite;
    transform: skewX(-15deg);
}

/* 渐变遮罩 */
/* .th-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 3;
    pointer-events: none;
} */


/* 专业流光动画 */
@keyframes th-professionalStream {
    0% {
        transform: translateX(-66.66%) skewX(-15deg);
        opacity: 0.3;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(0%) skewX(-15deg);
        opacity: 0.3;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .th-header {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .th-header {
        height: 300px;
    }
}
